home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-18 | 561 b | 24 lines | [TEXT/ttxt] |
- open:
-
- Synopsis: open a file for read/write operations.
-
- Syntax: open ( FILENAME, MODE )
- open ( FILENAME, MODE, BUFFSIZE )
-
- Description:
-
- Open will open a file or a pipe for read or write
- operations. Open allows the user to specify the mode of
- operation, and optionally a buffer-size for I/O.
-
- MODE: "r" read access
- "rb" read binary
- "w" write access
- "wb" write binary
- "wa" write/append
-
- BUFFSIZE: Buffersize is specified in bytes. If BUFFSIZE
- is not specified the system defaults are used.
-
- See Also: FILES close, printf, fprintf, read, write
-